<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<% 
	String contextPath=request.getContextPath();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html>
  <head>
  	<!-- 浏览器对应访问路径为<%=contextPath %>+/user/receiver.html  -->
  	<title><spring:message code="editDiaryPageTitle"/></title>
    <title>日志修改</title>
    <meta http-equiv="pragma" content="no-cache"/>
	<meta http-equiv="cache-control" content="no-cache"/>
	<meta http-equiv="expires" content="0"/>    
	<jsp:include  page="/page/plugin/commonPlugin.jsp" ></jsp:include>
	<jsp:include page="/page/plugin/jqGridPlugin.jsp"/>
	<jsp:include page="/page/resource/diary/i18n.jsp"/>
	<script language="JavaScript">
        var contextPath="<%=contextPath%>";
	</script>        
	<script type="text/javascript" src="<%=contextPath %>/page/plugin/jqueryui/js/jquery.validate.js"></script>
    <link type="text/css"  href="<%=contextPath %>/page/resource/diary/editDiary.css" />
	<script type="text/javascript" src="<%=contextPath %>/page/resource/diary/editDiary.js"></script>
	
  </head>
  
  <body>
    
  	<h3>资源&gt;日志:</h3>
  	<form id="editDiaryForm">
	<table>
		<tbody>
			<tr>
				<td id="editDiaryError" colspan="4"></td>
			</tr>
			<tr>
				<td>用户名:</td>
				<td><input type="text" class="required" name="diaryname" id="diarynameTxt" readonly="readonly"/></td>
				<td>用户真实姓名:</td>
				<td><input type="text" id="realnameTxt" name="realname"/></td>
			</tr>
			<tr>
				<td valign="top">内容:</td>
				<td><textarea type="text" name="content" id="contentTxt" /></td>
			</tr>
			<tr>
				<td>日记语言</td>
				<td><select id="languageBox" name="language">
						<option value="-1">缺省</option>
						<option value="1">中文</option>
						<option value="0">英文</option>
					</select></td>				
			</tr>
			<tr>
				<td><button type="submit" id="editdiaryBtn">日记编辑</button></td>
				<td><button type="submit" id="editdiaryBtnCancel">取消</button></td>
			</tr>
		</tbody>
	</table>
  	</form>
  </body>
</html>
